package scala.scalaClass.Inheritant

object MainOB {
   def main(args: Array[String]): Unit = {
      
     /* 
       val c = new Pizza
      println(c.toString())
      println("\n\n---------\n")
      
      val c1 = new Piza1
      println(c1.toString())
      
      val c2 = new Piza1("MC DoNal")
      println(c2.toString())
      
      val c3 = new Piza1(30)
      println(c3.toString())
      
      println("\n\n======\n")
      val f = new TestClass
      
      println(f.foo())
     
     
      */
      
     val d = new Dog("huu") 
     println(d)
   }
}